package com.example.superoa.model.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the kq_updatetype database table.
 * 
 */
@Entity
@Table(name="kq_updatetype")
@NamedQuery(name="KqUpdatetype.findAll", query="SELECT k FROM KqUpdatetype k")
public class KqUpdatetype implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="UT_ID")
	private int utId;

	@Column(name="UT_NAME")
	private String utName;

	@Column(name="UT_NEW")
	private BigDecimal utNew;

	@Column(name="UT_OLD")
	private BigDecimal utOld;

	//bi-directional many-to-one association to KqUpdaterecord
	@ManyToOne
	@JoinColumn(name="UR_ID")
	private KqUpdaterecord kqUpdaterecord;

	public KqUpdatetype() {
	}

	public int getUtId() {
		return this.utId;
	}

	public void setUtId(int utId) {
		this.utId = utId;
	}

	public String getUtName() {
		return this.utName;
	}

	public void setUtName(String utName) {
		this.utName = utName;
	}

	public BigDecimal getUtNew() {
		return this.utNew;
	}

	public void setUtNew(BigDecimal utNew) {
		this.utNew = utNew;
	}

	public BigDecimal getUtOld() {
		return this.utOld;
	}

	public void setUtOld(BigDecimal utOld) {
		this.utOld = utOld;
	}

	public KqUpdaterecord getKqUpdaterecord() {
		return this.kqUpdaterecord;
	}

	public void setKqUpdaterecord(KqUpdaterecord kqUpdaterecord) {
		this.kqUpdaterecord = kqUpdaterecord;
	}

}